export const getAliToken = async (userGuid: string) => {
  const url = "/cd/api/user/getUserNlsToken?userGuid=" + userGuid;
  return new Promise((resolve) => {
    fetch(url, {
      method: "GET",
      headers: {
        "Content-Type": "application/json",
        // Authorization: cookies,
      },
    })
      .then((res) => res.json())
      .then((res) => {
        resolve(res.data);
      });
  });
};
